package org.gbif.metadata.eml;

import java.util.ArrayList;


public class Creator {
  protected IndividualName individualName;

  protected String organizationName;

  protected String positionName;

  protected Address address;

  protected String electronicMailAddress;

  protected String role;

  protected String onlineUrl;

  protected long id;

  protected String scope;


  public IndividualName getIndividualName() {
    return this.individualName;
  }

  public void setIndividualName(IndividualName individualName) {
    this.individualName = individualName;
  }

  public String getOrganizationName() {
    return this.organizationName;
  }

  public void setOrganizationName(String organizationName) {
    this.organizationName = organizationName;
  }

  public String getPositionName() {
    return this.positionName;
  }

  public void setPositionName(String positionName) {
    this.positionName = positionName;
  }

  public Address getAddress() {
    return this.address;
  }

  public void setAddress(Address address) {
    this.address = address;
  }

  public void addPhone(Phone phone) {
    phoneList.add(phone);
  }

  public Phone getPhone(int index) {
    return (Phone)phoneList.get( index );
  }

  public int sizePhoneList() {
    return phoneList.size();
  }

  public String getElectronicMailAddress() {
    return this.electronicMailAddress;
  }

  public void setElectronicMailAddress(String electronicMailAddress) {
    this.electronicMailAddress = electronicMailAddress;
  }

  public String getRole() {
    return this.role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public String getOnlineUrl() {
    return this.onlineUrl;
  }

  public void setOnlineUrl(String onlineUrl) {
    this.onlineUrl = onlineUrl;
  }

  public long getId() {
    return this.id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getScope() {
    return this.scope;
  }

  public void setScope(String scope) {
    this.scope = scope;
  }

  protected ArrayList phoneList = new ArrayList();

}
